package com.coffee.socketio.handler;


import com.coffee.socketio.CoffeeSocketioException;
import com.coffee.socketio.command.TextCommand;
import com.coffee.socketio.metadata.TextMessage;

/**
 * @author songkui
 * @since 2024/3/16 11:06
 */
public interface SocketioTextHandler<T extends TextMessage> {
    void handle(TextCommand<T> command)throws CoffeeSocketioException;
}
